package com.xs.designpattern;

import lombok.extern.slf4j.Slf4j;

/**
 * @author xs
 */
@Slf4j
public class Main {
    public static void main(String[] args) {
        Messenger messenger = new Messenger();

        log.info("来自兽人的消息: ");
        messenger.messageFromOrcs().print();

        log.info("来自精灵的消息: ");
        messenger.messageFromElves().print();
    }
}